/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-20 10:35:16
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-20 10:49:21
 */
public class Test02IAction {
    public static void main(String[] args) {
       //接口不可以实例化对象
       //IAction ia = new IAction();
       System.out.println(IAction.NUM);
       //接口中的成员变量默认为常量
       //IAction.NUM = 20;
       IAction ia = new ActionImpl();
       //接口的方法怎么调用
       System.out.println(IAction.NUM);
       System.out.println(ia.NUM);
       ia.start();
       ia.end();
    }
}
